package com.lk.web;

import java.io.IOException;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class IndexServlet extends HttpServlet {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public void doGet(HttpServletRequest request,HttpServletResponse response)
			throws IOException,ServletException{
		ServletContext sc = getServletContext();
		System.out.println("admin: " + sc.getInitParameter("admin"));
		request.getRequestDispatcher("/WEB-INF/views/index.jsp").forward(request,response);
	}
}
